<template>
    <div class="middlemodule">
        <div class="moduleTitle">
            <span></span>{{title}}
        </div>
        <div class="moduleBody">
            <slot></slot>
        </div>
    </div>
</template>

<script>
    export default {
        name: "middlemodule",
        props:['title']
    }
</script>

<style lang="less" scoped>
    .middlemodule{
        display: flex;
        flex-direction: column;
        .moduleTitle{
            position: relative;
            line-height: 20px;
            color: #2b9ae2;
            height: 20px;
            padding-top: 18px;
            font-size: 20px;
            text-indent: 40px;
            &>span{
                width: 8px;
                height: 8px;
                background-color: #2b9ae2;
                position: absolute;
                top: 26px;
                left: 22px;
            }

        }
        .moduleBody{
            flex: 1 0 auto;
            height: 0;
        }
    }
</style>
